# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aha
pkgver=0.5
pkgrel=1
pkgdesc="ANSI color to HTML converter"
url="https://github.com/theZiz/aha"
arch="all"
license="MPL-1.1"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/theZiz/aha/archive/$pkgver.tar.gz"
options="!check" # Does not have a testsuite

build() {
	make
}

package() {
	install -Dm 755 aha \
		"$pkgdir"/usr/bin/aha
	install -Dm 644 aha.1 \
		"$pkgdir"/usr/share/man/man1/aha.1
}

sha512sums="2fbf0be928d8ea0491f6710d96eddd135253cadce6cc8c00f342e03e030ee16a3ff1eb6a559740cdd642b074c9e4e3fd9a76412272ffeb0b7bb419b0dcb6dbc1  aha-0.5.tar.gz"
